import request from '@/utils/request'
const serviceName = 'Property'
//  列表
export function queryPropertys(data) {
  return request({
    url: serviceName + '/Property/QueryPropertys',
    method: 'post',
    data
  })
}
//  详情
export function getProperty(data) {
  return request({
    url: serviceName + '/Property/GetProperty',
    method: 'post',
    data
  })
}
//  新增 修改
export function saveProperty(data) {
  return request({
    url: serviceName + '/Property/SaveProperty',
    method: 'post',
    data
  })
}
//  删除
export function deletePropertys(data) {
  return request({
    url: serviceName + '/Property/DeletePropertys',
    method: 'post',
    data
  })
}
//  导入
export function importProperty(data) {
  return request({
    url: serviceName + '/Property/ImportProperty',
    method: 'post',
    data
  })
}

export default {
  queryPropertys,
  getProperty,
  saveProperty,
  deletePropertys,
  importProperty
}
